package com.woniuxy.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResponseCode {
    SUCCESS(200, "SUCCESS"),
    FAIL(500, "FAIL"),
    NO_LOGIN(2000, "NO_LOGIN"),
    LOGIN_ERROR(2001, "LOGIN_ERROR"),
    SYSTEM_ERROR(5000, "SYSTEM_ERROR"),
    INTERNAL_ERROR(5001, "INTERNAL_ERROR"),
    MINIO_ERROR(5002, "MINIO_ERROR"),
    ;
    private final Integer code;
    private final String message;

}
